str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated Filename: core-Output.php

79

Before Use Ternary Operator
$output = str_replace(array('{elapsed_time}', '{memory_usage}'), array($elapsed, $memory), $output);

After User Ternary Oparator
$output = str_replace(array('{elapsed_time}', '{memory_usage}'), array($elapsed, $memory), $output);

Comments

Submit
0 Comments